endpoint: Fix detection of L4 policy changes
endpoint: Fix detection of L4 policy changes

When adding an L7 rule to an L4 policy, the recent endpoint logic
changes did not properly propagate the need to recompile the BPF
program, so entirely skipped it, leading to #4181.

Fix it by tracking whether the L4 policy changes in regeneratePolicy()
and including this in the final "needToRegenerateBPF" result.

Fixes: #4181

Signed-off-by: Joe Stringer <16a9a54ddf4259952e3c118c763138e83693d7fd@covalent.io>

scanf/cilium,cilium/cilium,cilium/cilium,tgraf/cilium,cilium-team/cilium,scanf/cilium,scanf/cilium,tklauser/cilium,scanf/cilium,tgraf/cilium,tklauser/cilium,tgraf/cilium,tklauser/cilium,scanf/cilium,scanf/cilium,eloycoto/cilium,eloycoto/cilium,eloycoto/cilium,tgraf/cilium,eloycoto/cilium,michi-covalent/cilium,eloycoto/cilium,cilium/cilium,tgraf/cilium,eloycoto/cilium,eloycoto/cilium,tgraf/cilium,tklauser/cilium,scanf/cilium,michi-covalent/cilium,michi-covalent/cilium,tklauser/cilium,michi-covalent/cilium,cilium/cilium,michi-covalent/cilium,cilium-team/cilium,cilium/cilium