Fix wrong type for DEPTH24_D8/DEPTH16