Factorize avhrr code (geoloc definition)

Signed-off-by: Martin Raspaud <martin.raspaud@smhi.se>