c: Fix cast operator parsing to use proper precedence