For constexpr I need to be able to fold some tree forms that fold_indirect_ref_1 didn't handle; this patch extends it to handle folding POINTER_PLUS_EXPR to an ARRAY_REF, and also folding to COMPONENT_REF. Tested x86_64-pc-linux-gnu. OK for trunk?