The onboard software of the EUSO-SPB pathfinder experiment