vertex_shader: Fix control reaches end of function warning

GetRegisterType returns enum values though, so it can't be anything else.