Remove unneeded static declarations and use sizeof() where appropriate.
Remove unneeded static declarations and use sizeof() where appropriate.

pgbackrest/pgbackrest,pgmasters/backrest,pgmasters/backrest,pgbackrest/pgbackrest,pgbackrest/pgbackrest