If a statement is already prepared, make prepare/3 a no-op.