[PATCH 6.12 583/590] selftests/bpf: Add test to verify tailcall and freplace restrictions