The punishment which a court-martial may direct for an offense shall not exceed the limits the governor prescribes for the offense.