Added support for p4d r23.1 upgrades.
This adds a call to 'sudo setcap' per the P4D 2023.1 release notes.
Several preflight checks are done to verify the needed sudo access is
available to do 'sudo setcap'. If no such access is available, an
error message is displayed, and we abort in the preflight phase.
The code for the sudo preflight checks avoids a password prompt/hang