Sussex dig in to notch 300 runs vs Gloucestershire on day two in Bristol