Direct measurement of weakly nonequilibrium system entropy is consistent with Gibbs–Shannon form