The Yellowhammer papers had suggested Gibraltar is ‘under prepared’ for Britain leaving without a deal