More shader cleanups

Same goes for `get_program_iv`