MSL: Fix texturing functions
MSL: Fix texturing functions

Also fix forward declarations - no need to emit them because class members are
visible to each other regardless of the order.

Thekla/hlslparser