Fix wrong reading functions being used for some D3D formats. TRAC #23256 Signed-off-by: Shannon Woods Author: Geoff Lang