A SCUBA-2 850-μm survey of protoplanetary discs in the IC 348 cluster