Several historic buildings at HMNB Portsmouth and around the dockyard are “at risk” of decaying if they are not preserved.