openpic: Replace explicit byte swap with endian hints