astro/xplanet: fix build with libc++ 4.0 and gcc6
PR: 216035 Reported by: jbeich Obtained from: upstream